package com.omg.server.crawler.vo;

import java.util.Date;

import com.omg.server.framework.vo.ValueObject;

public class RequestTask extends ValueObject {

	private String id;
	private String propertyCode;
	private String propertyName;
	private String monitorId;
	private String platformCode;
	private String platformName;
	private String interfaceUrl;
	private Date startTime;
	private Date endTime;
	private String requestType;
	private String reqOrder; //请求的顺序
	private String businessCode; //监控点所属业务编码
	private String messageId; //请求的序列号
	
	public String getPropertyCode() {
		return propertyCode;
	}
	public void setPropertyCode(String propertyCode) {
		if (null == propertyCode){
			propertyCode = "";
		}
		this.propertyCode = propertyCode;
	}
	public String getMonitorId() {
		return monitorId;
	}
	public void setMonitorId(String monitorId) {
		this.monitorId = monitorId;
	}
	public String getPlatformCode() {
		return platformCode;
	}
	public void setPlatformCode(String platformCode) {
		if (null == platformCode){
			platformCode = "";
		}
		this.platformCode = platformCode;
	}
	public String getInterfaceUrl() {
		return interfaceUrl;
	}
	public void setInterfaceUrl(String interfaceUrl) {
		this.interfaceUrl = interfaceUrl;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		if (null == startTime){
			startTime = new Date();
		}
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		if (null == endTime){
			endTime = new Date();
		}
		this.endTime = endTime;
	}
	public String getRequestType() {
		return requestType;
	}
	public void setRequestType(String requestType) {
		if (null == requestType){
			requestType = "";
		}
		this.requestType = requestType;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPropertyName() {
		return propertyName;
	}
	public void setPropertyName(String propertyName) {
		if (null == propertyName){
			propertyName = "";
		}
		this.propertyName = propertyName;
	}
	public String getPlatformName() {
		return platformName;
	}
	public void setPlatformName(String platformName) {
		if (null == platformName){
			platformName = "";
		}
		this.platformName = platformName;
	}
	public String getReqOrder() {
		return reqOrder;
	}
	public void setReqOrder(String reqOrder) {
		this.reqOrder = reqOrder;
	}
	public String getBusinessCode() {
		return businessCode;
	}
	public void setBusinessCode(String businessCode) {
		this.businessCode = businessCode;
	}
	public String getMessageId() {
		return messageId;
	}
	public void setMessageId(String messageId) {
		this.messageId = messageId;
	}
	
	
}
